<template>
  <div>
    <div
      class="mama"
      v-if="ava"
    >
      <div class="Introduce_box">
        <div class="Introduce_box_title">
          <img src="https://o6wndwjxn.qnssl.com/close.png" @click="guanbi">
          <slot name='title'></slot>
        </div>
        <div class="Introduce_box_item">
          <slot name="content"></slot>
        </div>
        <!-- <div
          class="Introduce_box_close"
          @click="guanbi"
        >关闭</div> -->
      </div>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    guanbi () {
      this.ava = false
    }
  },
  data () {
    return {
      ava: false
    }
  },
  components: {

  }
}
</script>
<style scoped>
.mama {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 99999;
}
.Introduce_box {
  width: 100vw;
  height: 60vh;
  position: fixed;
  left: 0;
  bottom: 0;
  background: white;
  border-radius: 10px 10px 0 0;
  font-size: 15px;
}
.Introduce_box_title {
  position: relative;
  width: 100vw;
  height: 55px;
  line-height: 55px;
  font-size: 18px;
  color: #1a1a1a;
  text-align: center;
  font-weight: bold;
  /* border-bottom: 1px solid #eeeeee; */
}
.Introduce_box_item {
  width: 90vw;
  margin: 0 5vw;
  height: calc(60vh - 55px);
  overflow: scroll;
}
.Introduce_box_close {
  width: 100vw;
  height: 55px;
  line-height: 55px;
  font-size: 15px;
  color: #DA4131;
  text-align: center;
  border-top: 1px solid #f4f4f4;
}
.Introduce_box_title > img {
  width: 10px;
  height: 10px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  right: 5vw;
}
</style>
